package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

/**
 *
 *
 * @author chen
 * @email
 * @date 2020-05-28 15:01:15
 */

@Data
@TableName("unimall_rechargeable_order")
public class RechargeableOrderDO extends SuperDO {

	/**
	 * 微信充值订单
	 */
	/**
	 * 下单渠道
	 */
	@TableField("channel")
	private String channel;
	/**
	 *
	 */
	@TableField("gmt_create")
	private Date gmtCreate;
	/**
	 * 状态值
	 */
	@TableField("status")
	private Integer status;
	/**
	 *
	 */
	@TableField("gmt_update")
	private Date gmtUpdate;
	/**
	 * 微信充值单号
	 */
	@TableField("order_no")
	private String orderNo;
	/**
	 * 微信充值活动id
	 */
	@TableField("rechargeable_id")
	private Long rechargeableId;
	/**
	 * 1.活动金额充值 2.自定义金额充值
	 */
	@TableField("recharge_type")
	private Integer rechargeType;
	/**
	 * 充值金额
	 */
	@TableField("recharge_price")
	private Integer rechargePrice;
	/**
	 * 支付金额
	 */
	@TableField("pay_price")
	private Integer payPrice;
	/**
	 * 支付渠道
	 */
	@TableField("pay_channel")
	private String payChannel;
	/**
	 * 支付时间
	 */
	@TableField("gmt_pay")
	private Date gmtPay;
	/**
	 * 用户id
	 */
	@TableField("user_id")
	private Long userId;

}

